package org.apache.servicecomb.samples.practise.houserush.login.service;

import org.apache.servicecomb.samples.practise.houserush.login.entity.User;

public interface UserService {
    User createUser(User user);
    User findUser(int id);
    void removeUser(int id);
    boolean updatePassword(int id, String oldPassword, String newPassword);
    User signin(User user);

    User verifyToken(String token);
}
